
/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"00D2501B-189B-4911-B441-2D7E7C0B05A1"}
 */
function borrar(event) {
	var $res = globals.DIALOGS.showQuestionDialog('Confirme','¿Está seguro que desea eliminar?','Si','No')
	if ($res == 'Si')
		controller.deleteRecord()
}
